package com.falcon.service;

import com.falcon.mvc.domain.BasePager;
import com.falcon.domain.dos.TableDO;
import com.falcon.domain.req.TableQuery;
import com.falcon.domain.req.TableRequest;

import java.util.List;

public interface ITableService {

    Long save(TableRequest request);

    Boolean update(Long id, TableRequest request);

    Boolean deleteById(Long id);

    TableDO queryById(Long id);

    List<TableDO> queryList(TableQuery request);

    BasePager<TableDO> queryPager(TableQuery request);

    int batchDelete(List<Long> ids);

}
